package net.maku.convert;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import net.maku.bean.vo.WebPayConfigVO;
import net.maku.entity.WebPayConfigEntity;

import java.util.List;

/**
* 支付配置表
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2024-09-06
*/
@Mapper
public interface WebPayConfigConvert {
    WebPayConfigConvert INSTANCE = Mappers.getMapper(WebPayConfigConvert.class);

    WebPayConfigEntity convert(WebPayConfigVO vo);

    WebPayConfigVO convert(WebPayConfigEntity entity);

    List<WebPayConfigVO> convertList(List<WebPayConfigEntity> list);

}